{% extends "admin/base_site.html" %}
{% load i18n %}

{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/dashboard.css{% endblock %}
{% block coltype %}colMS{% endblock %}
{% block bodyclass %}dashboard{% endblock %}
{% block breadcrumbs %}{% endblock %}
{% block content %}
{% load adminmedia %}
<div id="content-main">


{% if app_list %}
<table cellspacing="0" id="columns">
	<tr>
		<td>
			{% for app in app_list %}
			{% ifnotequal app.name 'Auth' %}
			{% ifnotequal app.name 'Sites' %}
			<div class="portlet">
				<div class="portlet_topper">
					<a href="#" class="toggle"><img src="{% admin_media_prefix %}pics/botton2.png" />{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}
					<img src="{% admin_media_prefix %}pics/botton3.png" />
					</a>
				</div>
				<div class="portlet_content">
					<ul>
					{% for model in app.models %}
				            {% if model.perms.change %}
							<p><a href="{{ model.admin_url }}">{{ model.name }}</a>
							&nbsp;
							{% if model.perms.add %}
								<a href="{{ model.admin_url }}add/" class="addlink"></a>
							{% endif %}
							</p>
				            {% endif %}
					{% endfor %}
					</ul>
				</div>
			</div>
			{% if forloop.counter|divisibleby:"5" %}
				</td>
				<td>
			{% endif %}
			{% endifnotequal %}
			{% endifnotequal  %}
			{% endfor %}
		</td>
	</tr>
</table>
{% else %}
    <p>{% trans "You don't have permission to edit anything." %}</p>
{% endif %}
</div>
{% endblock %}


{% block sidebar %}
<div id="content-related">
    
</div>
{% endblock %}
